<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>通用弹出窗</title>
@include('/common/header.html',{"title":"控制台"}){}
<style type="text/css">
html{overflow-y:auto;}
</style>
</head>
<body class="ifbody" style="padding-top:0px;height:${height};">
    <div class="form-container">
        <div class="box" style="margin:0;">
            <div class="row marginZero">
                <epoch:table id="_commonPopupTable" queryUrl="${basePath}${_queryUrl!'/sys/common/popup/list'}" rowId="${_rowId}"
                    paginate="${paginate}" showRefresh="true" newBtn="false" delBtn="false" advBtn="false"
                    queryParam="queryParam" selections="${selections}" selectRowJson="${selectRowJson}"
                    checkType="${multiple == 'true' ? 'checkbox' : 'radio'}" saveId="${saveId}" autoInit="${autoInit}">
                    <epoch:tr check="${multiple == 'true' ? 'checkbox' : 'radio'}"
                        titleTip="${multiple == 'true' ? i18n('cmn_tip_checkAll') : ''}"></epoch:tr>
                    @for(colData in _colDatas){
                    <epoch:tr formName="${colData.field}"
                        name="${i18n(colData.head)}"
                        titleTip="${colData.titleTip! == null ? null : i18n(colData.titleTip)}"
                        width="${colData.width!}"
                        cssClass="${colData.cssClass!}"
                        sortable="${colData.sortable!'true'}"
                        order="${colData.order!}"
                        filterType="${colData.filterType!'input'}"
                        filterData="${lisFun.dictForFilter(colData.dictCode!)}"
                        filterDateType="${colData.filterDateType!'date'}"
                        filterDateFormat="${colData.filterDateFormat!'yyyy-MM-dd'}"
                        parseSelect="${colData.parseSelect!'true'}"
                        defShowValue="${colData.defShowValue!'true'}"
                        switchable="${colData.switchable!'true'}"
                        visible="${colData.visible!'true'}"
                        export="${colData.export}"
                        exportCvt="${colData.exportCvt}"
                        cvtInitParam="${colData.cvtInitParam}">${colData.body!''}</epoch:tr>
                    @}
                </epoch:table>
                <script type="text/javascript">
                function queryParam(){
                    return {
                        _cmnPop_sqlKey:"${lisFun.escapeForQuot(sqlKey)}",
                        _cmnPop_filter:"${lisFun.escapeForQuot(filter)}",
                        _cmnPop_paginate:"${lisFun.escapeForQuot(paginate)}"
                    };
                }
                </script>
            </div>
        </div>
    </div>
    <script type="text/javascript">
	    $(document).ready(function(){
	        $("#_commonPopupTable").on("post-body.bs.table",function(e){
	            var pageList = $("#_commonPopupTable_tablePanel .fixed-table-pagination .pagination .page-list");
	        });
	    });
    </script>
</body>
</html>
